package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController
{
    @RequestMapping("/user/{id}")
    public String UserHomePage(@PathVariable("id")Integer id)
    {
        System.out.println(id);
        return "show/user";
    }
}
